package com.example.lxx.stickyexpandview.model;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.example.lxx.stickyexpandview.CustomersAdapter;

import java.util.List;

/**
 * Created by lxx on 2017/10/27 0027.
 */

public class EsalerPermissionTittleModel extends AbstractExpandableItem<MultiItemEntity> implements MultiItemEntity {

    /**
     * group_id : 2
     * group_name : 厉害
     * amout : 6
     */

    private String group_id;
    private String group_name;
    private String amout;

    private boolean isSelected;
    private int type_id;
    private List<EsalerPermissionCustomersModel> customer;

    public String getGroup_id() {
        return group_id;
    }

    public void setGroup_id(String group_id) {
        this.group_id = group_id;
    }

    public String getGroup_name() {
        return group_name;
    }

    public void setGroup_name(String group_name) {
        this.group_name = group_name;
    }

    public String getAmout() {
        return amout;
    }

    public void setAmout(String amout) {
        this.amout = amout;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public int getType_id() {
        return type_id;
    }

    public void setType_id(int type_id) {
        this.type_id = type_id;
    }

    public boolean getIsSelected() {
        return isSelected;
    }

    public void setIsSelected(boolean isSelected) {
        this.isSelected = isSelected;
    }

    @Override
    public int getLevel() {
        return CustomersAdapter.TYPE_LEVEL_1;
    }

    @Override
    public int getItemType() {
        return CustomersAdapter.TYPE_LEVEL_1;
    }

    public List<EsalerPermissionCustomersModel> getCustomer() {
        return customer;
    }

    public void setCustomer(List<EsalerPermissionCustomersModel> customer) {
        this.customer = customer;
    }

}
